package com.mhys.hms.service.user;

import java.util.List;
import com.mhys.hms.entity.Reward;

public interface RewardManagerService {
	/*
	 * 查询所有奖惩
	 */
	public List<Reward> queryAllReward();
	/*
	 * 分页模糊查询
	 */
	public List<Reward> queryRewardPage(int pageSize,int pageNumber,String deptNo,String deptName);
	/*
	 * 获取总条数
	 */
	public int queryTotalCount(String deptNo,String deptName);
	
	/*
	 * 查询指定奖惩
	 */
	public List<Reward> queryReward();
	/*
	 * 查询指定id奖惩
	 */
	public List<Reward> queryRewardById(String rId);
	/*
	 * 添加
	 */
	public Integer addRewardInfo(Reward reward);
	/*
	 * 更新
	 */
	public Integer updateReward(Reward reward);	
	/*
	 * 刪除
	 */
	public Integer delRewardInfo(String rId);
}
